package ch.wanandroid.model;

import java.util.List;

import ch.wanandroid.lib.banner.BannerItem;
import ch.wanandroid.lib.net.beans.ArticleResponse;
import ch.wanandroid.lib.net.beans.BannerResponse;

/**
 * Author: ch
 * Date: 2018/10/22 14:18
 * Description: ${DESCRIPTION}
 */

public interface IHomeModel {

    void loadBannerData(OnLoadCompleteListener listener);
    void loadHomeData(HomeCompleteListener listener,int page);
    interface OnLoadCompleteListener {
        void onComplete(List<BannerItem> data);
    }
    interface HomeCompleteListener {
        void onComplete(ArticleResponse data);
    }
}
